package org.mx.dal.entity;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.index.TextIndexed;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@SuppressWarnings("javadoc")
@Document(collection = "user")
@ToString(callSuper = true)
@Getter
@Setter
public class MongoUserEntity extends MongoBaseDictTreeEntity<MongoUserEntity> implements MongoUser, BaseDictTree<MongoUserEntity> {
    /**
	 * 
	 */
	private static final long serialVersionUID = -6144089089717324926L;
	private String email;
    @TextIndexed
    private String address;
    private String postCode;
    @Indexed
    private String mobile;
}
